// QPMig.h : main header file for the QPMIG application
//

#if !defined(AFX_QPMIG_H__79AC2CBD_ED55_4D56_A6C0_217F9052FEA0__INCLUDED_)
#define AFX_QPMIG_H__79AC2CBD_ED55_4D56_A6C0_217F9052FEA0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols
#include "defines.h"		// defined constants
#include "ccontrol.h"		// defined constants
#include "cQuickPlaceDB.h"


class CoInit
{
public:
	CoInit()
	{
		::CoInitialize(0);
	}
	~CoInit()
	{
		::CoUninitialize();
	}
private:
	CoInit(const CoInit&);
	CoInit& operator=(const CoInit&);
};


/////////////////////////////////////////////////////////////////////////////
// CQPMigApp:
// See QPMig.cpp for the implementation of this class
//

class CQPMigApp : public CWinApp
{
public:
	void DoLog(LPCSTR);
	void StoreData();
	CQPMigApp();

public:
	cControl stControl;
private:
	CoInit comRuntimer;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CQPMigApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CQPMigApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void InitData();
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_QPMIG_H__79AC2CBD_ED55_4D56_A6C0_217F9052FEA0__INCLUDED_)
